package com.hqj.service;

import com.hqj.dao.BaseDao;
import com.hqj.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl {

    @Autowired
    private BaseDao<User> bd;


    public List<User> find(User user){
        List<User> list = bd.find(user);

        return list;
    }
}
